<template>
  <j-select-biz-component :width="1000" v-bind="configs" v-on="$listeners"/>
</template>

<script>
  import JSelectBizComponent from './JSelectBizComponent'
  export default {
    name: 'JSelectCategories',
    components: { JSelectBizComponent },
    props: ['value','checkVal','checkTip'],
    data() {
      return {
        paramVal:'',
        settings: {
          name: '活动大类',
          displayKey: 'categoriesName',
          returnKeys: ['id', 'categoriesCode'],
          listUrl: window._CONFIG['domianTpmURL']+'/act/tpmActCategories/findPageList',
          queryParamCode: 'categoriesName',
          queryParamText: '活动大类名称',
          columns: [
            { title: '活动大类名称', field: 'categoriesName', align: 'center', width: '50%', widthRight: '70%' },
            { title: '活动大类编号', field: 'categoriesCode', align: 'center', width: '50%' },
          ]
        }
      }
    },
    computed: {
      configs() {
        return Object.assign({ value: this.value }, this.settings, this.$attrs,
          {'checkVal':this.checkVal},{'checkTip':this.checkTip})
      }
    },
    methods:{

    }
  }
</script>

<style lang="less" scoped></style>